home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / bash_completion.d / debconf next >
Encoding:
Text File  |  2006-07-24  |  293 b   |  13 lines

  1. have debconf-show &&
  2. _debconf-show()
  3. {
  4.         local cur
  5.  
  6.         COMPREPLY=()
  7.         cur=${COMP_WORDS[COMP_CWORD]}
  8.         COMPREPLY=($( compgen -W '--listowners --listdbs --db=' -- $cur ) \
  9.                         $( apt-cache pkgnames -- $cur ) )
  10. }
  11. complete -F _debconf-show debconf-show
  12.  
  13.